package com.hndfsj.common.domain;

/**
 * Token 的 Model 类，可以增加字段提高安全性，例如时间戳、url 签名
 */
public class TokenModel {
	// username
	private String username;
	private String token;

	public String getToken() {
		return token;
	}

	public void setToken(String username) {
		this.username = username;
	}

	public TokenModel(String token, String username) {
		this.username = username;
		this.token = token;
	}

	public TokenModel(String userId) {
		this.username = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}
